package com.shenma2009.service;

import com.shenma2009.domain.ResultResponse;
import com.shenma2009.pojo.TbOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenma2009.vo.IdVo;
import com.shenma2009.vo.PageVo;
import com.shenma2009.vo.TbOrderVo;

/**
* @author 33509
* @description 针对表【tb_order(订单表)】的数据库操作Service
* @createDate 2023-04-25 16:29:24
*/
public interface TbOrderService extends IService<TbOrder> {

    ResultResponse add(IdVo idVo, String token);
    boolean cancelOrder(Integer orderId);

    ResultResponse del(IdVo idVo);
    ResultResponse set(TbOrderVo tbOrderVo);
    ResultResponse get(IdVo idVo);
    ResultResponse listByPage(PageVo pageVo);

    ResultResponse payOrderOK(Integer orderId, String orderNo);
}
